wayland: Keep some resources until destroy
authorMatthias Clasen <mclasen@redhat.com>
Sat, 18 May 2019 19:15:47 +0000 (19:15 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 18 May 2019 19:15:47 +0000 (19:15 +0000)
commitf2d598b9a19cd7151c592e9c74d5b0d0ba3c9e48
tree2930d7691adcfd0bcd1fad473559053314777de9
parent6e2df85ec88f83bba5da87c0b6734d1d98cfd052
wayland: Keep some resources until destroy

The Wayland backend was dropping _all_ serverside
resources on hide, which is too early e.g. for
GtkGLArea which wants to use egl resources to
unload textures on unrealize.

Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1485
gdk/wayland/gdksurface-wayland.c